import config from "@/config"
import http from "@/utils/request"

export default {
	register: {
		url: `${config.API_URL}/open/open/register`,
		name: "用户注册",
		post: async function(data={}){
			console.log(config.API_URL)
			return await http.post(this.url, data);
		}
	},
    page:{
        url: `${config.API_URL}/v2/sys-user-open/page`,
		name: "开放用户分页",
		get: async function(data={}){
			console.log(config.API_URL)
			return await http.get(this.url, data);
		}
    }
}
